package net.zhnb.service;

import java.math.BigDecimal;

import net.zhnb.bean.Shower;
import net.zhnb.bean.ShowerKey;
import finaler.util.Page;
import finaler.util.PageList;

public interface ShowerService {
	
    public boolean insert(Shower shower) throws Exception ;

    public boolean deleteByKey(ShowerKey key) throws Exception ;
    
    public boolean update(Shower shower) throws Exception ;
    
    public Shower findByKey(ShowerKey key) throws Exception ;
    
	public PageList getPageList(Page page) throws Exception;

    public boolean deleteByRoomId(BigDecimal roomId) throws Exception ;
    
    public Shower findShower(String tagId)throws Exception ;
}
